package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 著作完成人
对象 work_patent_winners
 * 
 * @author ruoyi
 * @date 2024-07-11
 */
public class WorkPatentWinners extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 主表id */
    @Excel(name = "主表id")
    private Long workPatentId;

    /** 署名顺序 */
    @Excel(name = "署名顺序")
    private Long signatureOrder;

    /** 作者类型（1：学生，2：老师） */
    @Excel(name = "作者类型", readConverterExp = "1=：学生，2：老师")
    private Long authorType;

    /** 作者姓名 */
    @Excel(name = "作者姓名")
    private String authorName;

    /** 性别（见系统字典） */
    @Excel(name = "性别", readConverterExp = "见=系统字典")
    private Long gender;

    /** 学历(1:专科生，2：本科生，3：研究生，4：博士生) */
    @Excel(name = "学历(1:专科生，2：本科生，3：研究生，4：博士生)")
    private Long educationBackgorund;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private Long affiliatedUnit;

    /** 贡献率 % */
    @Excel(name = "贡献率 %")
    private Long contributionRate;

    /** 职称（详细见字典） */
    @Excel(name = "职称", readConverterExp = "详=细见字典")
    private Long professionalTitle;

    /** 承担角色 */
    @Excel(name = "承担角色")
    private String role;

    /** 参编字数（万） */
    @Excel(name = "参编字数", readConverterExp = "万=")
    private Long coeditNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorkPatentId(Long workPatentId) 
    {
        this.workPatentId = workPatentId;
    }

    public Long getWorkPatentId() 
    {
        return workPatentId;
    }
    public void setSignatureOrder(Long signatureOrder) 
    {
        this.signatureOrder = signatureOrder;
    }

    public Long getSignatureOrder() 
    {
        return signatureOrder;
    }
    public void setAuthorType(Long authorType) 
    {
        this.authorType = authorType;
    }

    public Long getAuthorType() 
    {
        return authorType;
    }
    public void setAuthorName(String authorName) 
    {
        this.authorName = authorName;
    }

    public String getAuthorName() 
    {
        return authorName;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setEducationBackgorund(Long educationBackgorund) 
    {
        this.educationBackgorund = educationBackgorund;
    }

    public Long getEducationBackgorund() 
    {
        return educationBackgorund;
    }
    public void setAffiliatedUnit(Long affiliatedUnit) 
    {
        this.affiliatedUnit = affiliatedUnit;
    }

    public Long getAffiliatedUnit() 
    {
        return affiliatedUnit;
    }
    public void setContributionRate(Long contributionRate) 
    {
        this.contributionRate = contributionRate;
    }

    public Long getContributionRate() 
    {
        return contributionRate;
    }
    public void setProfessionalTitle(Long professionalTitle) 
    {
        this.professionalTitle = professionalTitle;
    }

    public Long getProfessionalTitle() 
    {
        return professionalTitle;
    }
    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }
    public void setCoeditNumber(Long coeditNumber) 
    {
        this.coeditNumber = coeditNumber;
    }

    public Long getCoeditNumber() 
    {
        return coeditNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workPatentId", getWorkPatentId())
            .append("signatureOrder", getSignatureOrder())
            .append("authorType", getAuthorType())
            .append("authorName", getAuthorName())
            .append("gender", getGender())
            .append("educationBackgorund", getEducationBackgorund())
            .append("affiliatedUnit", getAffiliatedUnit())
            .append("contributionRate", getContributionRate())
            .append("professionalTitle", getProfessionalTitle())
            .append("role", getRole())
            .append("coeditNumber", getCoeditNumber())
            .toString();
    }
}
